GraphicsFormats package for Buoy

RawIcoImporter.OpenFromBytes Method

Opens a ICO Image from a ICO formatted Bytes buffer, reading the first bitmap in the ICO file.

OpenFromBytes(
   data as Bytes) as RawBitmap

Parameters

data
The Bytes buffer data containing a ICO image to import from.

Returns

RawBitmap
Returns the imported Picture as RawBitmap or nil if there was error.

Remarks

This method can throw GraphicsFormatsException.

See Also

RawIcoImporter Class